WP_Defender\Component\Two_Factor\Providers\Totp S

Total Complexity 32
Dependencies 8
Dependents 3
Total lines 309
Lines of code 155
Logical lines of code 78
Comment lines 73
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
user_options()
S
45 6 42
get_user_secret()
S
53 7 24
init_provider()
S
61 4 12
generate_otp()
S
52 3 22
validate_authentication()
S
60 3 13
__construct()
S
74 1 4
get_label()
S
78 1 3
get_login_label()
S
79 1 3
get_user_label()
S
79 1 3
get_description()
S
82 1 3
authentication_form()
S
68 1 8
get_auth_apps()
S
69 1 7
generate_qr_code()
S
64 1 8
is_available_for_user()
S
78 1 3